|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.common.configurations.BranchConfiguration
public class BranchConfiguration
A configuration for a variable assignment.
| Field Summary | |
|---|---|
static int |
COMPARISON_TYPE_EQUAL
The == comparison type. |
static int |
COMPARISON_TYPE_GREATER_THAN
The > comparison type. |
static int |
COMPARISON_TYPE_GREATER_THAN_OR_EQUAL
The >= comparison type. |
static int |
COMPARISON_TYPE_LESS_THAN
The < comparison type. |
static int |
COMPARISON_TYPE_LESS_THAN_OR_EQUAL
The <= comparison type. |
static int |
COMPARISON_TYPE_NOT_EQUAL
The != comparison type. |
static int |
OPERAND_TYPE_EXPRESSION
The expression operand type. |
static int |
OPERAND_TYPE_VARIABLE
The variable operand type. |
| Fields inherited from interface org.eclipse.vtp.framework.common.configurations.CommonConstants |
|---|
MAPPING_TYPE_EXPRESSION, MAPPING_TYPE_NONE, MAPPING_TYPE_STATIC, MAPPING_TYPE_VARIABLE, NAME_ASSIGNMENT, NAME_BRANCH, NAME_BRAND, NAME_DATA_TYPE, NAME_DISPATCH, NAME_ENTRY, NAME_EXIT, NAME_FIELD, NAME_INITIAL_VALUE, NAME_KEY, NAME_LEFT_OPERAND, NAME_NAME, NAME_OUTGOING, NAME_PATH, NAME_PRIMARY_FIELD, NAME_RIGHT_OPERAND, NAME_SCRIPT, NAME_SCRIPTING_LANGUGAGE, NAME_TYPE, NAME_URI, NAME_VALUE, NAME_VARIABLE_MAPPING, NAMESPACE_URI |
| Constructor Summary | |
|---|---|
BranchConfiguration()
Creates a new AssignmentConfiguration. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLeftScriptingLanguage()
Returns the scripting language to use for the left-hand side of the operation. |
int |
getLeftType()
Returns the type of the left-hand operand. |
java.lang.String |
getLeftValue()
Returns the value to use for the left-hand side of the operation. |
java.lang.String |
getPath()
Returns the path to follow if the comparison is true. |
java.lang.String |
getRightScriptingLanguage()
Returns the rightScriptingLanguage. |
int |
getRightType()
Returns the type of the right-hand operand. |
java.lang.String |
getRightValue()
Returns the value to use for the right-hand side of the operation. |
int |
getType()
Returns the type of comparison to make. |
void |
load(org.w3c.dom.Element configurationElement)
Loads the configuration information from the specified XML element. |
void |
save(org.w3c.dom.Element configurationElement)
Saves the configuration information into the supplied XML element. |
void |
setLeftExpressionValue(java.lang.String leftValue,
java.lang.String leftScriptingLanguage)
Sets the value to use for the left-hand side of the operation. |
void |
setLeftVariableValue(java.lang.String leftValue)
Sets the value to use for the left-hand side of the operation. |
void |
setPath(java.lang.String path)
Sets the path to follow if the comparison is true. |
void |
setRightExpressionValue(java.lang.String rightValue,
java.lang.String rightScriptingLanguage)
Sets the value to use for the right-hand side of the operation. |
void |
setRightVariableValue(java.lang.String rightValue)
Sets the value to use for the right-hand side of the operation. |
void |
setType(int type)
Sets the type of comparison to make. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMPARISON_TYPE_EQUAL
== comparison type.
public static final int COMPARISON_TYPE_LESS_THAN
< comparison type.
public static final int COMPARISON_TYPE_LESS_THAN_OR_EQUAL
<= comparison type.
public static final int COMPARISON_TYPE_GREATER_THAN
> comparison type.
public static final int COMPARISON_TYPE_GREATER_THAN_OR_EQUAL
>= comparison type.
public static final int COMPARISON_TYPE_NOT_EQUAL
!= comparison type.
public static final int OPERAND_TYPE_VARIABLE
public static final int OPERAND_TYPE_EXPRESSION
| Constructor Detail |
|---|
public BranchConfiguration()
| Method Detail |
|---|
public int getType()
public void setType(int type)
type - The type of comparison to make.public java.lang.String getPath()
public void setPath(java.lang.String path)
path - The path to follow if the comparison is true.public int getLeftType()
public java.lang.String getLeftValue()
public java.lang.String getLeftScriptingLanguage()
public void setLeftVariableValue(java.lang.String leftValue)
leftValue - The name of the variable to use for the left-hand side of
the operation.
public void setLeftExpressionValue(java.lang.String leftValue,
java.lang.String leftScriptingLanguage)
leftValue - The expression to use for the left-hand side of the
operation.leftScriptingLanguage - The scripting language to use for the
left-hand side of the operation.public int getRightType()
public java.lang.String getRightValue()
public java.lang.String getRightScriptingLanguage()
public void setRightVariableValue(java.lang.String rightValue)
rightValue - The name of the variable to use for the right-hand side
of the operation.
public void setRightExpressionValue(java.lang.String rightValue,
java.lang.String rightScriptingLanguage)
rightValue - The expression to use for the right-hand side of the
operation.rightScriptingLanguage - The scripting language to use for the
right-hand side of the operation.public void load(org.w3c.dom.Element configurationElement)
IConfiguration
load in interface IConfigurationconfigurationElement - The element to load the configuration from.public void save(org.w3c.dom.Element configurationElement)
IConfiguration
save in interface IConfigurationconfigurationElement - The element to save the configuration to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||